package com.office.forum.manage.comments.service.impl;

import com.office.forum.manage.comments.domain.ForumComments;
import com.office.forum.manage.comments.mapper.ForumCommentsMapper;
import com.office.forum.manage.comments.service.ForumSelectTimeSevice;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Date;
import java.util.List;

@Service
public class ForumSelectTimeServiceImpl implements ForumSelectTimeSevice {
    @Resource
    ForumCommentsMapper forumCommentsMapper;
//选择时间段
    @Override
    public List<ForumComments> getCommentsByTimeRange(String selectTimeRange) {
      return   forumCommentsMapper.ForumSelectTimeList(selectTimeRange);
    }
}


